using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_timeslot {

		/// <summary>
		/// 追加日期
		/// </summary>
		[JsonProperty]
		public DateTime? adddate { get; set; }

		/// <summary>
		/// 教练id
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public Guid? coachid { get; set; } = Guid.Parse("00000000-0000-0000-0000-000000000000");

		[JsonProperty, Column(CanInsert = false)]
		public Guid? id { get; set; } = Guid.Parse("00000000-0000-0000-0000-000000000000");

		/// <summary>
		/// 是否停用 0未停用  1已停用
		/// </summary>
		[JsonProperty]
		public int? isdisable { get; set; }

		/// <summary>
		/// 是否复训/多人计时班，0否，1是
		/// </summary>
		[JsonProperty]
		public int? IsRepeateTran { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		/// <summary>
		/// 取8:00-11:00,的起始时间  nTimer=8
		/// </summary>
		[JsonProperty]
		public double? nTimer { get; set; }

		/// <summary>
		/// 科目，2科目二，3科目三
		/// </summary>
		[JsonProperty]
		public int? nType { get; set; }

		/// <summary>
		/// 人数（多人计时/复训班）
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int? PersonNum { get; set; } = 1;

		/// <summary>
		/// 一天中的位置  为请假 设置    1上午 2下午 3晚上
		/// </summary>
		[JsonProperty]
		public int? timelocation { get; set; }

		/// <summary>
		/// 时间段
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(36)")]
		public string timeslot { get; set; }

		/// <summary>
		/// 学时
		/// </summary>
		[JsonProperty]
		public int? xueshi { get; set; }

	}

}
